/*
 * PlateauIhm.java
 * 
 */

package Risk.IHM;

import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import javax.swing.JToolBar;

/**
 *
 * @author nicoleta
 */
public class PlateauIhm extends JFrame implements ActionListener {
    private JTabbedPane jtp;
    private JToolBar jtb;
    private JButton jbCartes, jbMenu;
    private JPanel jpCarte, jpconsole;
    
    public PlateauIhm() {
        super("Plateau jeu");
        this.setLayout(new BorderLayout());
        initComposants(this);
        this.pack();
        this.setVisible(true);
    }
    
    public void initComposants(JFrame f) {
        jtp = new JTabbedPane();
        jtb = new JToolBar(WIDTH);
        
        f.add(jtp, BorderLayout.CENTER);        
    }
    
    public void initialisationPlateau(String fich) {
    
    }

    public void actionPerformed(ActionEvent e) {
        throw new UnsupportedOperationException("Not supported yet.");
    }
}
